-
Notifications
You must be signed in to change notification settings - Fork 300
WIP: JSONAPI prefix #458
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
WIP: JSONAPI prefix #458
Conversation
Codecov Report
@@ Coverage Diff @@
## master #458 +/- ##
==========================================
- Coverage 93.24% 93.13% -0.11%
==========================================
Files 54 54
Lines 3123 3134 +11
==========================================
+ Hits 2912 2919 +7
- Misses 211 215 +4
Continue to review full report at Codecov.
|
* replace binary drf_example sqlite3 db file with fixture
…rk-json-api into JSONAPI-prefix
Dammit every time I try a rebase I get something backward and now it shows 12 files being changed. |
OK, merge it is from now on. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for going to an extra effort to make DJA more consistent with the JSONAPI renaming.
Beside the small change I think we have to get the merge rebase issue sorted (PR currently contains changes of previous PRs) and this should be ready for merging.
Maybe to fix your rebase issue what you could do is to create a new branch based on master, then cherry pick the changes you actually made for this PR and force push to JSONAPI-prefix.
@@ -20,7 +20,7 @@ commands = | |||
|
|||
[testenv:flake8] | |||
deps = flake8 | |||
commands = flake8 | |||
commands = flake8 --exclude=migrations rest_framework_json_api example |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
flake8 configuration is to be found in the setup.cfg
. I think for consistency we should move all options there.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'll clean up my mess. Just found another small error in the deprecation warnings as well.
closing this PR so I can undo the rebase message and resubmit. |
Description of the Change
Per a discussion with @sliverc, renamed recently-added paginations class from
JsonApi
-prefix toJSONAPI
-prefix. This includes new deprecation warnings for the old names.I also added a minor fix to tox.ini not to run flake8 on the entire directory but only the relevant files.
You can cherry-pick that out if you prefer it not to be part of this PR.
Checklist
CHANGELOG.md
AUTHORS